package com.weme.mine.viewmode

import com.weme.common.base.BaseViewModel
import com.weme.common.network.NetWorkUrl
import dev.kratos.api.user_server.v1.FeedbackRequest
import dev.kratos.api.user_server.v1.UploadAlbumRequest

class ServiceViewMode :BaseViewModel(){
    fun uploaderApi(req: UploadAlbumRequest) {
        val reqByte = req.toByteArray()
        sendNetworkRequest(reqByte, NetWorkUrl.UploadAlbum)
    }

    fun putFeedBack(req: FeedbackRequest) {
        val reqByte = req.toByteArray()
        sendNetworkRequest(reqByte, NetWorkUrl.Feedback)
    }
}